package com.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

@Entity
public class Newitem {
	private int itemid;
	private int subid;
	private String stuffid;
	private String mkdate;
	private String mktime;
	private String isdiscuss;
	private String wkey;
	private String ntitle;
	private String ncontent;
	private String mapfile;
	private String docfile;
	private String filetype;
	private String filename;
	private String extname;
	private String state;
	private String ncontenthtml;
	private String alreadyreaders;
	private String isimportant;
	private String accstuffs;
	private String bigfilenow;
	private String bigfiletype;
	private String bigfilename;
	private String isup;
	private String ipaddress;
	private String isinjt;
	private String companycode;

	@OneToOne
	@JoinColumn(name = "stuffid", insertable = false, updatable = false)
	public Astuff getAstuff() {
		return astuff;
	}

	public void setAstuff(Astuff astuff) {
		this.astuff = astuff;
	}

	private Astuff astuff;

	@Id
	public int getItemid() {
		return itemid;
	}

	public void setItemid(int itemid) {
		this.itemid = itemid;
	}

	public int getSubid() {
		return subid;
	}

	public void setSubid(int subid) {
		this.subid = subid;
	}

	public String getStuffid() {
		return stuffid;
	}

	public void setStuffid(String stuffid) {
		this.stuffid = stuffid;
	}

	public String getMkdate() {
		return mkdate;
	}

	public void setMkdate(String mkdate) {
		this.mkdate = mkdate;
	}

	public String getMktime() {
		return mktime;
	}

	public void setMktime(String mktime) {
		this.mktime = mktime;
	}

	public String getIsdiscuss() {
		return isdiscuss;
	}

	public void setIsdiscuss(String isdiscuss) {
		this.isdiscuss = isdiscuss;
	}

	public String getWkey() {
		return wkey;
	}

	public void setWkey(String wkey) {
		this.wkey = wkey;
	}

	public String getNtitle() {
		return ntitle;
	}

	public void setNtitle(String ntitle) {
		this.ntitle = ntitle;
	}

	public String getNcontent() {
		return ncontent;
	}

	public void setNcontent(String ncontent) {
		this.ncontent = ncontent;
	}

	public String getMapfile() {
		return mapfile;
	}

	public void setMapfile(String mapfile) {
		this.mapfile = mapfile;
	}

	public String getDocfile() {
		return docfile;
	}

	public void setDocfile(String docfile) {
		this.docfile = docfile;
	}

	public String getFiletype() {
		return filetype;
	}

	public void setFiletype(String filetype) {
		this.filetype = filetype;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public String getExtname() {
		return extname;
	}

	public void setExtname(String extname) {
		this.extname = extname;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getNcontenthtml() {
		return ncontenthtml;
	}

	public void setNcontenthtml(String ncontenthtml) {
		this.ncontenthtml = ncontenthtml;
	}

	public String getAlreadyreaders() {
		return alreadyreaders;
	}

	public void setAlreadyreaders(String alreadyreaders) {
		this.alreadyreaders = alreadyreaders;
	}

	public String getIsimportant() {
		return isimportant;
	}

	public void setIsimportant(String isimportant) {
		this.isimportant = isimportant;
	}

	public String getAccstuffs() {
		return accstuffs;
	}

	public void setAccstuffs(String accstuffs) {
		this.accstuffs = accstuffs;
	}

	public String getBigfilenow() {
		return bigfilenow;
	}

	public void setBigfilenow(String bigfilenow) {
		this.bigfilenow = bigfilenow;
	}

	public String getBigfiletype() {
		return bigfiletype;
	}

	public void setBigfiletype(String bigfiletype) {
		this.bigfiletype = bigfiletype;
	}

	public String getBigfilename() {
		return bigfilename;
	}

	public void setBigfilename(String bigfilename) {
		this.bigfilename = bigfilename;
	}

	public String getIsup() {
		return isup;
	}

	public void setIsup(String isup) {
		this.isup = isup;
	}

	public String getIpaddress() {
		return ipaddress;
	}

	public void setIpaddress(String ipaddress) {
		this.ipaddress = ipaddress;
	}

	public String getIsinjt() {
		return isinjt;
	}

	public void setIsinjt(String isinjt) {
		this.isinjt = isinjt;
	}

	public String getCompanycode() {
		return companycode;
	}

	public void setCompanycode(String companycode) {
		this.companycode = companycode;
	}
}
